flask: Fix policy build with new checkpolicy
authorDaniel De Graaf <dgdegra@tycho.nsa.gov>
Fri, 2 Dec 2011 21:44:26 +0000 (13:44 -0800)
committerDaniel De Graaf <dgdegra@tycho.nsa.gov>
Fri, 2 Dec 2011 21:44:26 +0000 (13:44 -0800)
commit64b8b98854e09202f420b8bb02cb915b8a03cd55
treee22181b9dda620a208aa706cf2f3a2c17cc56086
parent96e9e0203347a74a07e8d681b6c6012d2f18d427
flask: Fix policy build with new checkpolicy

Version 26 of checkpolicy (shipped with Fedora 16) now requires that
roles be declared prior to setting types for a role. Add a declaration
of the system_r role to fix the build of default XSM/FLASK policy.

Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Committed-by: Keir Fraser <keir@xen.org>
tools/flask/policy/policy/modules/xen/xen.te